DISCUSSION
The
ATSUCountFontNames function obtains the total number of font names defined in a font name table. This includes repetitions of the same name in different platforms, languages, and scripts, as well as other strings such as the names of font features, variations, tracking settings, and instances. You can pass one less than this count in the
iFontNameIndex parameter of the function
ATSUGetIndFontName to iterate through the entries of a font name table.